package com.training.food.pojo;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
@Getter
@Setter
@Data
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table( name ="recordinfo" )
public class Recordinfo implements Serializable {
    @Id
    private String username;
    @Column(name="legalName")
    private String legalName;
    @Column(name = "managerId")
    private String managerId;
    @Column(name = "manName")
    private String manName;
    @Column(name = "city")
    private String city;
    @Column(name = "time")
    private Date time;
    @Column(name = "card")
    private String card;
    @Column(name = "companyName")
    private String companyName;
    @Column (name="picture")
    private String picture;


}
